<template>
	<NavBarVue title="待消费" />
	<view class="wait">
		<view class="top">
			<u-icon name="arrow-left" color="#000000" size="24"  @click="goBack()"></u-icon>
			<view style="margin-left: 250rpx;font-weight: bold;">
				优惠券
			</view>
			
		</view>
		<view class="box">
			<view class="title" style="font-weight: bold;margin-top:50rpx;">千人食府团购优惠券</view>
			<view class="title" style="font-size: 20rpx;color:rgb(195,195,195);margin-bottom:50rpx;">有效期至 2022-05-08 23:69</view>
			<view class="qrcode">
				<view style="display: flex; justify-content: space-between;">
					<view style="margin:20rpx;color:rgb(185,185,185);">
						券码
					</view>
					<view style="margin:20rpx;color:rgb(195,195,195);">
						发送给朋友>
					</view>
				</view>
				<view style="font-size: 40rpx;font-weight: bold;margin:20rpx;">
					7011 3928 2929 12
				</view>

				<image src="/static/qrcode.png" mode=""></image>
			</view>
		</view>
		<TabBarVue />
	</view>
</template>

<script setup>
	import TabBarVue from "../../../components/TabBar.vue";
	import NavBarVue from "../../../components/NavBar.vue";
	import {
		ref
	} from "vue";
	const goBack=()=>{
		uni.navigateBack()
	}
	
</script>

<style lang="scss" scoped>
	.wait {
		width: 100vw;
		height: 100vh;
		background: rgb(244, 244, 244);
		box-sizing: border-box;
		overflow: hidden;

		.top {
			margin-top: 30rpx;
			display: flex;
		
			background: white;
			height: 100rpx;
			line-height: 100rpx;

			.you {
				border-radius: 20rpx;
				border: 1rpx solid whitesmoke;
			}
		}

		.box {
			display: flex;
			flex-direction: column;
			align-items: center;

	.qrcode{
		background-color: white;
	}


		}

	}
</style>